<style>
<!--
.reg-input {
	padding: 5px 10px;
	border: 1px solid #DDD;
	border-top: 1px solid #CCC;
	color: #65645A;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	padding-left: 16px;
	width: 430px;
	height: 40px;
	font-size: 20px;
	font-weight: normal;
	margin-right: 110px;
	float: right;
}
.reg-form select {
	padding: 10px;
	border: 1px solid #DDD;
	border-top: 1px solid #CCC;
	color: #65645A;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
	width: 430px;
	height: 50px;
	font-size: 20px;
	font-weight: normal;
	float: right;
	margin: 0 110px 10px -20px;
}
.reg-label {
	float: left;
	clear: both;
	font-weight: bold;
	font-size: 14px;
	margin-bottom: 3px;
	font-family: "Helvetica Neue",Helvetica,Arial,Verdana,sans-serif;
	margin-top: 20px;
}
label.error {
	display: block;
	clear: both;
	margin-left: 310px;
}

.reg-form {
	margin-top: 15px;
	margin-left: 15px;
	position: relative;
	clear: both;
}
.message{
	font-size : 16px;
	font-weight : bold;
	margin-bottom: 10px;
	color : #FC0A0A;
}
-->
</style>
<div class="content-box"><!-- Start Content Box -->	
	<div class="content-box-header">
		<h3>Thiết lập tài khoản</h3>
		<div class="clear"></div>
		
	</div> <!-- End content-box-header -->
	
	<?php echo $this->Form->create('User', array('id' => 'UserEditForm', 'inputDefaults' => array(
																						'label' => false,
																						'div' => false,
																						# define error defaults for the form
																						'error' => array(
																							'wrap' => 'span',
																							'class' => 'my-error-class'
																							)
																						)
			) ) ; ?>
		<?php echo $form->hidden('group_id');?>
	<div class="content-box-content">
		<div class="tab-content default-tab" id="tab1">		
			<!-- Edit User Form -->
			
			<div class="title-register"> 
				
			</div> 
			<div class="reg-form">
				<label class="reg-label">Tên đăng nhập&nbsp;</label> 
				<?php echo $form->input('username' , array('disabled' => 'disabled', 'id' => 'username', 'label' => false, 'div' => false, 'class' => 'reg-input') ); ?>
			</div>	
			<div class="reg-form">
				<label class="reg-label">Email&nbsp;</label> 
				<?php echo $form->input('email' , array('disabled' => 'disabled', 'label' => false, 'div' => false, 'class' => 'reg-input') ); ?>
			</div>	
			<div class="reg-form">
				<label class="reg-label">Họ tên&nbsp;<span style="color:red">*</span></label> 
				<?php echo $form->input('fullname', array('label' => false, 'div' => false, 'class' => 'required reg-input'));?>
			</div>	
			<div class="reg-form">
				<label class="reg-label">Ðịa chỉ liên hệ&nbsp;<span style="color:red">*</span></label> 
				<?php echo $form->input('address', array('label' => false, 'div' => false, 'class' => 'required reg-input'));?>
			</div>	
			<div class="reg-form">
				<label class="reg-label">Tỉnh / Thành&nbsp;<span style="color:red">*</span></label> 
				<?php echo $form->input('city_id', array('type' => 'select', 'label' => false, 'div' => false, 'class' => 'required'));?>
			</div>	
			<div class="reg-form">
				<label class="reg-label">Di động&nbsp;</label> 
				<?php echo $form->input('phone', array('label' => false, 'div' => false , 'class' => 'reg-input'));?>
			</div>
			<div class="reg-form">
				<label class="reg-label">Yahoo&nbsp;</label> 
				<?php echo $form->input('yahoo', array('label' => false, 'div' => false , 'class' => 'reg-input'));?>
			</div>			
			<div class="reg-form" style="clear: both;">
				<input class="btn_orange" name="submit" value="Thay đổi" type="submit"> 
			</div>		
												
			<!-- End Edit User Form -->	
			<div class="clear"></div>		
			
		</div>
		<!-- End #tab1 -->

	</div> <!-- End content-box-content -->
	<?php echo $this->Form->End();?>
</div> <!-- End .content-box -->

 <script>
 $(document).ready(function (){
	$('#UserEditForm').validate();		
 });
 
 </script>